package com.flyinzhen.customer.dto.input;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@ApiModel(value = "BankCardSaveInput", description = "银行卡信息保存输入类")
public class BankCardSaveInput implements Serializable {

	private static final long serialVersionUID = 1L;

    @NotBlank
    @ApiModelProperty(value = "客户号", required = true)
    private String userId;

	@NotBlank
    @ApiModelProperty(value = "银行编码", required = true)
    private String bankCode;

    @ApiModelProperty(value = "银行名")
	private String bankName;

    @ApiModelProperty(value = "户名")
    private String accountName;

    @NotBlank
    @ApiModelProperty(value = "银行卡号", required = true)
    private String cardNumber;

    @NotBlank
    @ApiModelProperty(value = "状态", required = true)
    private String status;
}
